package cn.sala.user.service.impl;

import cn.sala.user.domain.User;
import cn.sala.user.dao.UserMapper;
import cn.sala.user.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService{

    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> findUserByName(String name) {
        return userMapper.findUserByName(name);
    }
}
